#!/bin/bash

echo postinst

/usr/local/bin/skydmin -i
awk -e '/\/usr\/local\/lib64/  { system("exit 1") }' < /etc/ld.so.conf
if [ $? -eq 1 ] then
   echo "/usr/local/lib64" >> /etc/ld.so.conf
fi
/sbin/ldconfig
